/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo902;

/**
 *
 * @author Administrator
 */
import java.util.*;

public class MainA {

    public static void main(String[] args) {
        int a;
        Scanner reader = new Scanner(System.in);
        a = reader.nextInt();

        if (a == 0) {
            System.out.println(0);
        } else if (a > 0) {
            System.out.println(1);
        } else {
            System.out.println(-1);
        }

    }
}
